import request from '@/utils/request';
// 获取发出的评论
export function getSendComment(userId) {
  return request({
    url: '/comment/selectMyComment',
    method: 'GET',
    params: {
      userId
    }
  });
};
// 获取接收的评论
export function getReceivedComment(userId) {
  return request({
    url: '/comment/receivedComment',
    method: 'GET',
    params: {
      userId
    }
  });
};
// 删除评论
export function deleteComment(params) {
  return request({
    url: '/comment/deleteComment',
    method: 'POST',
    params
  });
};
